QuickOPC User's Guide and Reference
UAStructureFieldInfo Constructor(String,String,UADataTypeInfo,Int32,Int64[],Int64,Boolean)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.DataTypeSchema Namespace > UAStructureFieldInfo Class > UAStructureFieldInfo Constructor : UAStructureFieldInfo Constructor(String,String,UADataTypeInfo,Int32,Int64[],Int64,Boolean)
A name for the field that is unique within the structure type info.
A localized description of the field.
The data type info for the field.
The value rank for the field.
Specifies the maximum supported length of each dimension.
Specifies the maximum supported length for String or ByteString data types.
The field indicates if a data type field in a structure is optional.
Initializes a new instance of the class.
Syntax
'Declaration
 
Public Function New( _
   ByVal name As String, _
   ByVal description As String, _
   ByVal dataTypeInfo As UADataTypeInfo, _
   ByVal valueRank As Integer, _
   ByVal arrayDimensions() As Long, _
   ByVal maximumStringLength As Long, _
   ByVal isOptional As Boolean _
)
'Usage
 
Dim name As String
Dim description As String
Dim dataTypeInfo As UADataTypeInfo
Dim valueRank As Integer
Dim arrayDimensions() As Long
Dim maximumStringLength As Long
Dim isOptional As Boolean
 
Dim instance As New UAStructureFieldInfo(name, description, dataTypeInfo, valueRank, arrayDimensions, maximumStringLength, isOptional)

Parameters

name
A name for the field that is unique within the structure type info.
description
A localized description of the field.
dataTypeInfo
The data type info for the field.
valueRank
The value rank for the field.
arrayDimensions
Specifies the maximum supported length of each dimension.
maximumStringLength
Specifies the maximum supported length for String or ByteString data types.
isOptional
The field indicates if a data type field in a structure is optional.
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also